#!/usr/bin/env python3
# -*- coding:utf-8 -*-

import os

from ctools.converters.convbase import NConverterBase
from ctools.ly_parser.nodes import (KeepNode,)

from ctools.common.strhelper import *

from ctools.logext import *
import logging

_rlog, _plog, _mlog, _tlog = get_loggers(__file__, __name__, propagate=False)

class ConvKeepN2Gv(NConverterBase):
    def process(self, node:KeepNode, indent=1, **kwargs):
        text = indent_str(indent, node.body + '\n')
        return text

    convert = process
